package com.ruoyi.common.config;

import com.ruoyi.common.utils.StringUtils;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import static com.ruoyi.common.constant.Constants.RESOURCE_PREFIX;

/**
 * 读取项目相关配置
 *
 * @author ruoyi
 */
@Component
@ConfigurationProperties(prefix = "dbinterface")
public class DbInterfaceConfig
{
    private String baseUrl;
    private String getBean;
    private String getList;
    private String create;
    private String update;
    private String delete;

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getGetBean() {
        return getBean;
    }

    public void setGetBean(String getBean) {
        this.getBean = getBean;
    }

    public String getGetList() {
        return getList;
    }

    public void setGetList(String getList) {
        this.getList = getList;
    }

    public String getCreate() {
        return create;
    }

    public void setCreate(String create) {
        this.create = create;
    }

    public String getUpdate() {
        return update;
    }

    public void setUpdate(String update) {
        this.update = update;
    }

    public String getDelete() {
        return delete;
    }

    public void setDelete(String delete) {
        this.delete = delete;
    }
}
